package com.sevenit.nj.yrmtfish.entity;

import java.util.ArrayList;
import java.util.List;

import android.graphics.drawable.Drawable;

/**
 * 存储信息数据. 
 * @author wangxw
 */
public class OnlineData{

	//类型(0:分类、1:信息概要、2、信息详细)
	private int dataType;
	//ID.
	private String id;
	//父ID.
	private String parentId;
	//信息类型(参考DB设计栏目信息表)
	private String infoType;
	//名称 .
	private String name;
	//简介 .
	private String memo;
	//详细.
	private String detail;
	//图片HTTP路径.
    private List<String> imgLstPathHttp;
	//图片路径（本地SD卡）.
    private List<String> imgLstPathSd;
	//图片对象.
	private List<Drawable> imageLstObj;
	//资源图片.
	private int imgId;
    //信息相关电话.
  	public String telNum;
  	//当前显示的数据是否为秒杀类型.
  	private boolean miaosha;
	
    public OnlineData() {
    	this.imgLstPathHttp = new ArrayList<String>();
    	this.imgLstPathSd = new ArrayList<String>();
    	this.imageLstObj = new ArrayList<Drawable>();
    }

	public int getDataType() {
		return dataType;
	}

	public void setDataType(int dataType) {
		this.dataType = dataType;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getInfoType() {
		return infoType;
	}

	public void setInfoType(String infoType) {
		this.infoType = infoType;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public int getImgId() {
		return imgId;
	}

	public void setImgId(int imgId) {
		this.imgId = imgId;
	}

	public List<Drawable> getImageLstObj() {
		return imageLstObj;
	}

	public void setImageLstObj(List<Drawable> imageLstObj) {
		this.imageLstObj = imageLstObj;
	}

	public List<String> getImgLstPathSd() {
		return imgLstPathSd;
	}

	public void setImgLstPathSd(List<String> imgLstPathSd) {
		this.imgLstPathSd = imgLstPathSd;
	}

	public List<String> getImgLstPathHttp() {
		return imgLstPathHttp;
	}

	public void setImgLstPathHttp(List<String> imgLstPathHttp) {
		this.imgLstPathHttp = imgLstPathHttp;
	}

	public String getTelNum() {
		return telNum;
	}

	public void setTelNum(String telNum) {
		this.telNum = telNum;
	}

	public boolean isMiaosha() {
		return miaosha;
	}

	public void setMiaosha(boolean miaosha) {
		this.miaosha = miaosha;
	}
	
}